Skip to main content

Verify a contract with its source code and contract creation information

POST 

https://api.fuse.io/api/v0/explorer/?module=contract&action=verify

Verify a contract with its source code and contract creation information

Request

Query Parameters

    module stringrequired

    Possible values: [contract]

    action stringrequired

    Possible values: [verify]

    apiKey stringrequired
    Example: pk_1234567890

Body

required
    addressHash string
    name string
    compilerVersion string
    optimization boolean
    contractSourceCode string

Responses

OK

Schema
    message string
    result string
    status string
curl -L -X GET 'https://api.fuse.io/api/v0/explorer' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json'
Request Collapse all
Base URL
https://api.fuse.io/api/v0/explorer
Parameters
— queryrequired
— queryrequired
— queryrequired
Body required
{
  "addressHash": "string",
  "name": "string",
  "compilerVersion": "string",
  "optimization": true,
  "contractSourceCode": "string"
}
ResponseClear

Click the Send API Request button above and see the response here!

Was this page helpful?